package com.quartz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@EnableScheduling
//public class SpringQuartzApplication implements CommandLineRunner {
public class SpringQuartzApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringQuartzApplication.class, args);
    }
//
//    @Autowired
//    public CronSchedulerJob scheduleJobs;
//
//    @Override
//    public void run(String... args) throws Exception {
//        scheduleJobs.scheduleJobs();
//        System.out.println(">>>>>>>>>>>>>>>定时任务开始执行<<<<<<<<<<<<<");
//    }
}
